Holds informations about a test execution result. More...
Public Member Functions | |
| TestRunResult () | |
| TestRunResult (const nkMemory::StringView &rejectionReason) | |
| TestRunResult (const TestRunException &exception) | |
| nkMemory::StringView | getRejectionReason () const |
| nkMemory::BufferView< TestStackLevel > | getRejectionStack () const |
| bool | getSuccess () const |
| TestRunResult & | operator= (const TestRunException &exception) |
Holds informations about a test execution result.
| nkDebug::TestRunResult::TestRunResult | ( | ) |
Default constructor, defaulting to a successful result.
| nkDebug::TestRunResult::TestRunResult | ( | const nkMemory::StringView & | rejectionReason | ) |
Rejection constructor.
| rejectionReason | The reason for rejecting the test. |
| nkDebug::TestRunResult::TestRunResult | ( | const TestRunException & | exception | ) |
Translation constructor.
| exception | The exception to translate from. |
| nkMemory::StringView nkDebug::TestRunResult::getRejectionReason | ( | ) | const |
| nkMemory::BufferView<TestStackLevel> nkDebug::TestRunResult::getRejectionStack | ( | ) | const |
| bool nkDebug::TestRunResult::getSuccess | ( | ) | const |
| TestRunResult& nkDebug::TestRunResult::operator= | ( | const TestRunException & | exception | ) |
Overload for exception assignment operator.
| exception | The exception to translate from. |